{% extends 'store/blank.html' %}

{% block header%}
<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">

  <title>天天生鲜</title>

  <!-- Custom fonts for this template-->
  <link href="/static/store/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">

  <!-- Custom styles for this template-->
  <link href="/static/store/css/sb-admin-2.min.css" rel="stylesheet">
  <style>
      .store_table{
          line-height: 40px;
          text-align: center;
      }
      .t_label{
          text-align: right;
      }
      .t_message{
          text-align: left;
          color: red;
      }

  </style>
</head>
{% endblock %}

    <!-- Begin Page Content -->
    <!--面板部分-->
    {% block content %}
    <div class="container-fluid">
        <div class="card shadow mb-4">
            <div class="card-header py-3">
              <h4 class="m-0 font-weight-bold text-primary">店铺详情</h4>
            </div>
            <div class="card-body">
              <table class="table store_table">
                    <tr>
                        <td rowspan="4">
                            <a href="#" class="thumbnail">
                                <img src="/static/{{ u_store.shop_pic }}">
                            </a>
                        </td>
                        <th class="t_label">店铺名称</th>
                        <td class="t_input"  colspan="2">{{ u_store.shop_name }}</td>

                        <td class="t_message">店铺名称每月至多修改一次</td>

                    </tr>
                    <tr>
                        <th class="t_label">店铺地址</th>
                        <td class="t_input" colspan="2">
                            {{ u_store.shop_address }}
                        </td>
                    </tr>
                    <tr>
                        <th class="t_label">店铺描述</th>
                        <td colspan="2">
                            <textarea class="form-control">{{ u_store.shop_descript }}</textarea>
                        </td>
                    </tr>
                    <tr>

                    </tr>
                    <tr>
                        <td>
                            <input class="btn btn-primary" type="button" value="修改头像">
                        </td>
                        <td colspan="3">
                            <input class="btn btn-primary" type="submit" value="修改信息">
                        </td>
                    </tr>
              </table>
            </div>
        </div>
    </div>
    {% endblock %}
    <!-- End of Main Content -->

{% block script %}
  <!-- Bootstrap core JavaScript-->
  <script src="/static/store/vendor/jquery/jquery.min.js"></script>
  <script src="/static/store/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

  <!-- Core plugin JavaScript-->
  <script src="/static/store/vendor/jquery-easing/jquery.easing.min.js"></script>

  <!-- Custom scripts for all pages-->
  <script src="/static/store/js/sb-admin-2.min.js"></script>
  <script src="/static/store/js/echarts.min.js"></script>
  <script>
    {#$.ajax({#}
    {#    url:'',#}
    {#    type:'get',#}
    {#    data:'',#}
    {#    success: function(result){#}
    {#        console.log(result);#}
    {#    },#}
    {#    error:function(err){#}
    {#        console.log(err);#}
    {#    }#}
    {#});#}
  </script>
{% endblock %}
